Skip to content

feat(provider): handle local sign support in necessary methods#49

Merged
dOrgJelli merged 3 commits into
dorgjelli/simplify-provider-interfacefrom
feat/handle-raw-tx-in-provider
Mar 15, 2023
Merged

feat(provider): handle local sign support in necessary methods#49
dOrgJelli merged 3 commits into
dorgjelli/simplify-provider-interfacefrom
feat/handle-raw-tx-in-provider

Conversation

@cbrzn
Copy link
Copy Markdown
Contributor

@cbrzn cbrzn commented Mar 14, 2023

this PR aims to add handle of signing for custom signers

@cbrzn cbrzn force-pushed the feat/handle-raw-tx-in-provider branch from ac46de0 to 41f1fd0 Compare March 14, 2023 19:32
@cbrzn cbrzn force-pushed the feat/handle-raw-tx-in-provider branch from 41f1fd0 to 4fdedd8 Compare March 14, 2023 22:03
@cbrzn cbrzn changed the title feat: handle getTransactionCount and sendTransaction rpc methods feat(provider): handle local sign support in necessary methods Mar 14, 2023
Comment thread provider/implementations/js/src/index.ts Outdated
Comment thread provider/implementations/js/src/index.ts Outdated
Comment thread provider/implementations/js/src/index.ts Outdated
const signer = await connection.getSigner()
let signature = "";
// This is a hack because in ethers v5.7 this method is experimental
// when when we update to ethers v6 this wont be needed. More info:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's stopping us from updating to v6 now?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice q... nothing tbh

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think since we're in the hackathon I just don't want to spend time on these things (for the sake of delivering in the hackathon)

@dOrgJelli dOrgJelli merged commit d54f9c4 into dorgjelli/simplify-provider-interface Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants